﻿using NPOI.OpenXmlFormats.Dml;
using Org.BouncyCastle.Asn1.Mozilla;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WCS_Utility.ConstString
{
    public class ConstStringData
    {
        #region Http类型
        public const string Get = "GET";
        public const string POST = "POST";
        public const string PUT = "PUT";
        public const string DELETE = "DELETE";
        
        public const string MediaType = "application/json";
        #endregion
        #region 路由分隔符
        public const string HttpComPara = "http://";
        public const string HttpsComPara = "https://";
        public const string Spacer = "/";
        public const string Colon = ":";
        #endregion
        #region 状态
        public const int Normal = 1;
        public const int Deactivate = 2;
        #endregion

        #region 设备通信类型
        public const string Com_Tcp = "Tcp";
        public const string Com_ModbusTcp = "Modbus-Tcp";
        #endregion

        public const string InsertStringInfo = "{ }";

        public const string Termination = "/n";
        public const string HeartBeatMsg = "HeartBeatMsg";

        #region WCS支持的自动化设备类型
        public const string Optical_eq = "Optical";
        public const string Lift_eq = "Lift";
        public const string Door_eq = "Door";
        public const string Rotate_eq = "Rotate";
        public const string Line_eq = "Line";
        public const string Pallet_eq = "Pallet";
        public const string AirShower_eq = "AirShower";
        public const string Cargo_eq = "Cargo";
        public const string Detector_eq = "Detector";
        public const string AGV_eq = "AGV";
        #endregion

        #region 支持的透传数据
        public const string OpticalKey = "Optical";
        #endregion

        #region OpticalKeyname
        public const string OpticalFunCode = "funCode";
        public const string OpticalNumber = "number";
        public const string OpticalType = "type";
        #endregion

        #region 透传协议报文内容
        public const string SerialNet_HikRCS = "HikRCS";
        public const string SerialNet_TheseusRCS = "TheseusRCS";
        #endregion

        #region Quartz任务名称
        public const string OpticalHeartbeat = "OpticalHeartbeat";
        public const string OpticalOppositeCheck = "OpticalOppositeCheck";
        public const string RcsOverTimeCheck = "RcsOverTimeCheck";
        public const string TaskScan = "TaskScan";
        public const string AgvOverTimeCheck = "AgvOverTimeCheck";
        public const string AgvWait = "AgvWait";
        #endregion

        #region WcsApiName
        public const string CreatTask_WCSApi = "CreatTask";
        public const string ContinueTask_WCSApi = "ContinueTask";
        public const string CancelTask_WCSApi = "CancelTask";
        public const string SetTaskPriority_WCSApi = "SetTaskPriority";
        public const string BindPodAndBerth_WCSApi = "BindPodAndBerth";
        public const string BindPodAndMat_WCSApi = "BindPodAndMat";
        public const string LockPosition_WCSApi = "LockPosition";
        public const string SyncMapDatas_WCSApi = "SyncMapDatas";
        public const string QueryPodBerthAndMat_WCSApi = "QueryPodBerthAndMat";
        public const string BlockStgBin_WCSApi = "BlockStgBin";
        public const string BindCtnrAndBin_WCSApi = "BindCtnrAndBin";
        public const string QueryTaskStatus_WCSApi = "QueryTaskStatus";
        public const string QueryAgvStatus_WCSApi = "QueryAgvStatus";
        public const string StopRobot_WCSApi = "StopRobot";
        public const string ResumeRobot_WCSApi = "ResumeRobot";
        public const string BlockArea_WCSApi = "BlockArea";
        public const string GenPreScheduleTask_WCSApi = "GenPreScheduleTask";
        public const string ClearRoadWay_WCSApi = "ClearRoadWay";
        public const string GetOutPod_WCSApi = "GetOutPod";
        public const string ReturnPod_WCSApi = "ReturnPod";
        public const string GenCtuGroupTaskBatc_WCSApi = "GenCtuGroupTaskBatc";
        public const string BoxApplyPass_WCSApi = "BoxApplyPass";
        public const string BindMaterialTypCodeAndBerth_WCSApi = "BindMaterialTypCodeAndBerth";
        public const string ChargeReport_WCSApi = "ChargeReport";
        #endregion

        #region Rcs接收处理类型
        public const string RcsRecive_Map = "mapInfo";
        public const string RcsRecive_Agv = "agvInfo";
        public const string RcsRecive_result = "resultInfo";
        public const string RcsRecive_resultData = "resultdataInfo";
        public const string RcsRecive_Task = "taskInfo";
        public const string RcsRecive_PodBerthAndMat = "PodBerthAndMatInfo";
        #endregion

        public const string RoadWayInfoKey = "RoadWayInfo";
        public const string RollerAbnormalKey = "RollerAbnormal";

        #region 上位系统支持的接口
        public const string AbnormalReport_Upper = "AbnormalReport";
        public const string TaskReport_Upper = "TaskReport";
        #endregion

        #region 返回值
        public const string Success_Result = "Success";
        public const string Fail_Result = "Fail";
        public const string Success_Code = "0";
        public const string Fail_Code = "1";
        #endregion

        #region AGV系统接入的外设
        //滚筒
        public const string Roller_Peripheral = "Roller";
        //提示灯
        public const string Promptlight_Peripheral = "Promptlight";


        #region 滚筒参数
        public const string Writ_03 = "3";
        public const string Read_04 = "4";
        #endregion
        #endregion

        public const string Null = "null";

        #region AGV类型
        public const string CTU_agvType = "1";
        #endregion
    }
}
